搜索资源列表
编译原理.rar
- C语言编译器的设计与实现 我们设计的编译程序涉及到编译五个阶段中的三个,即词法分析器、语法分析器和中间代码生成器。编译程序的输出结果包括词法分析后的二元式序列、变量名表、状态栈分析过程显示及四元式序列程序,整个编译程序分为三部分: (1) 词法分析部分 (2) 语法分析处理及四元式生成部分 (3) 输出显示部分
四元式
- c实现的四元式,模拟编译原理来实现,程序本身没什么难度,不过写这种程序能进一步加深对编译原理的理解!-c 4 yuan to achieve the style, analog compiler principles to achieve, the process itself little more difficult, but to write such a procedure would further deepen the understanding of compiler theory
将FOR语句转换成四元式的程序实现
- 编译原理课程设计,内附源码
compile.rar
- 我做编译原理课程设计时的条件语句的四元式,希望大家多多指正,I have compiled the curriculum design at the time of the principle of conditional statements of the four-style, a lot of hope that we can correct me
middle_code
- 编译原理中间代码生成的程序,仅仅实现了表达式到四元式的转换-Compiler theory intermediate code generation process, only to realize the expression of quaternion type of conversion
mycompile
- 编译原理 IF条件语句的翻译程序设计—简单优先法、输出四元式 通过设计、编制、调试一个条件语句的语法及语义分析程序,加深对语法及语义分析原理的理解,并实现词法分析程序对单词序列的词法检查和分析。 具体做到以下几点: ①对输入语句进行词法分析。将输入的字符串进行扫描和分解,识别出一个个合法的单词。单词种类包括:关键字,标识符,运算符,常数和界限符 ②进行语法分析。编写条件语句的相应文法,按照语法分析方法中的简单优先分析法为文法设计简单优先表,对词法分析得到的单词序列进行语法分析,以
bianyiyuanlishiyan
- 相当强悍,学编译原理的绝不能错过! ------------------------------------ 编译原理的几个实验: 1.词法分析 2.语法分析 3.表达式求值 4.四元式中间代码 有C和VC两个环境、-Very tough, learning to compile principle must not be missed!------------------------------------ Compilation Principle of sev
scanner(liwenkaitop)
- 这是用VC6.0开发的集词法分析、语法分析、语义分析为一体的一个程序,是我在编译原理课程设计后期和同班一贼牛的哥们儿老胡共同研究的,做编译课设的朋友们不妨下来看看。语法分析采用的是算符优先分析法,语义生成的是四元式,符号集等格式处理方面基本是遵照大连理工出版的《编译原理》一书附的Simple语言来设计的。由于是自己的课余研究,当时没什么文档和维护的概念,因此没有留下文档,事隔一年半之后我也没有再研究它的动力了,看懂了的朋友不妨写个文档传上来告诉我一声!先此谢过了!-err
paser_code
- 编译原理实验之中间代码生成(四元式),在加实验报告-Compiler Principle Experiment intermediate code generation (quaternion-style), in Canada Experimental Report
ifelseyuju
- 这个是我在编译原理做的课程设计,一个编译器,包括词法语法分析,结果生成四元式序列,可执行文件也在里面:)-This is what I do in the compiler course design principle, a compiler, including the lexical grammar analysis, the results generated quaternion-type sequences, executable files are inside:)
WHILE
- 编译原理课设 有语法分析 词法分析 3地址输出 可惜的是不是四元式输出-Compilation Principle lesson lexical analysis with parsing 3 address output It is a pity that instead of quaternion output
yufayuyi(c)
- c语言实现编译原理语法语义分析程序代码,很完整,可以直接运行,语法语义分析代码,希望对大家有所帮助-c language compiler to achieve the principle of semantic analysis of program code syntax, it is complete, can be directly run, grammar semantic analysis code, I hope all of you to help
siyuanshi
- 软件学院学生编译原理课程实验,中间器代码生成器设计,输入算术表达式,输出语法分析结果及相应的四元式序列 -Software College courses students compiling principle experiment, intermediate code generator design, the importation of arithmetic expressions, the output syntax analysis and the corresponding s
CompileWork(optimize_available)
- 北航编译原理课程设计成果——一个扩充的C0文法编译器,带优化,生成的中间代码为四元式,最终代码为X86汇编。很好,很强大!-BUAA compile the results of the principle of curriculum design- a scalable C0 grammar compiler, with optimization, the generated code between quaternion type, the final code for the X86 co
siyuanshi
- 编译原理 的赋值语句翻译,输出四元式!源程序代码!-Compiler assignment principles of translation, the output quaternion type
siyuanshi
- 四元式的实现,编译原理的,找了好久找到的,分享一下-Quaternion of the realization of the principle of the compiler, looking for a long time to find and share. . .
bianyizonghe
- c语言编写的编译原理综合性实验,实现部分c语言代码段的词法、语法、语义分析,最后输出四元式。 没什么突出的,但是保证是最详细的。-c language compiler principles of comprehensive experiment, c language code to achieve some of the lexical, syntax, semantic analysis, the final output quaternion type. Nothing outsta
pengge_SLR_zancheng
- 本源码实现了编译原理的词法分析、语法分析、语义分析、及相应的四元式的产生。-This source realized the compiling principle lexical analysis, grammatical analysis, semantic analysis, and the corresponding four yuan type production.
DO-WHILE语句翻译四元式
- 对DO-WHILE句型进行词法分析和语法分析,输出该语句的四元式(The lexical analysis and grammatical analysis of the DO-WHILE sentence patterns are used to output the four yuan form of the sentence)